
class TrendScale < ActiveRecord::Base
  belongs_to :survey
  has_many :reports
  has_many :original_results
  has_many :pre_original_results
  validates_presence_of :name , :message => "倾向名不可为空"
  validates_presence_of :explanation , :message => "倾向说明不可为空"
  validates_presence_of :solution , :message => "solution不可为空"
end
